package cn.neusoft.mapper;

import cn.neusoft.po.Address;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AddressMapper {

    int deleteByPrimaryKey(Integer addressId);

    int insert(Address record);

    Address selectByPrimaryKey(Integer addressId);

    List<Address> selectAll();

    int updateByPrimaryKey(Address record);

    List<Address> selectByUserId(Integer userId);
}